﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XWord.Fundamental.Domain;
using NHibernateUnitOfWork;

namespace ConsoleApplication1
{
   public class LCArticleTest
    {
       public static void Test1()
       {
           LCArticle art = new LCArticle();
           art.Content = @" In the humanities, authors write to inform you in many ways. These methods can be (36) _______ into three types of informational writing: factual, descriptive, and process.
Factual writing provides (37) _______ information on an author, composer, or artist or on a type of music, literature, or art. Example of factual writing include notes on a book jacket or (38) _______ cover and longer pieces, such as an article describing a stle of music which you might read in a music (39) _______ courses. This kind of writing provides a (40) _______ for your study of the humanities.
As its name (41) _______, descriptive writing simply describes, or provides an (42) _______ of, a piece of music, art, or literature. For example, descriptive writing might list the colors an artist used in a painting or the (43) _______ a composer included in a musical composition, so as to make pictures or sounds in the reader’s mind by calling up specific details of the work. (44) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _.
Process writing explains a series of actions that bring about a result. (45) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _. This kind of writing is often found in art, where understanding how an artist created a certain effect is important. (46) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _.";
         
           art.CreateTime = new DateTime(2009, 12, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test2()
       {
           LCArticle art = new LCArticle();
           art.Content = @"　　Around 120 years ago, Ebbinghaus began his study of memory. He（36）____ on studying how quickly the human mind can remember （37）____. One result of his research is known as the total time hypothesis（假设），which simply means the amount you learn （38）____ on the time you spend trying to less it. This can be taken as our first rule of learning.
　　Although it is usually true that studying for four hours is better than studying for one, there is the question of how we should use the four hours. For example, is it better to study for four hours （39）____ or to study for one hour a day for four days in a （40）____? The answer, as you may have （41）____, is that it is better to spread out the study times. This （42）____, through which too can learn more （43）____ by dividing our practice time, is known as the distribution of practice effect. Thus, （44） __________________________________________.
　　But we’re not finished yet. We haven’t considered how we should study over very short periods of time. （45） __________________________________________. Should you look at the same word in rapid succession, or look at the word and then have some delay before you look at it again?（46） __________________________________________.
";

           art.CreateTime = new DateTime(2009, 6, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test3()
       {
           LCArticle art = new LCArticle();
           art.Content = @"    Crime is increasing worldwide. There is every reason to believe the (36)_______will continue through the next few decades.
    Crime rates have always been high in multicultural, industrialized societies such as the United States, but a new (37)__________has appeared on the world (38)_________---rapidly rising crime rates in nations that previously reported few (39)_________.Street crimes such as robbery, rape, (40)___________, and auto theft are clearly rising, (41)____________in eastem European countries such as Hungary and in western European nations such as the United kingdom.
    What is dirving this crime (42)_________? These are no simple answers. Still, there are certain conditions (43) ____________with rising crime; increasing heterogeneity (混杂) of populations, greater cultural pluralism, higher immigration, democratization of governments,(44)_______________________________________________________________________________________________________________.
    These conditions are increasingly observable around the world. For instance, cultures that were previously isolated and homogeneous(同种类的) , such as Japan , Denmark, and Greece, (45)____________________________________________________________________________________________________________________.
Multiculturalism can be a rewarding ,enriching experience, but it can also lead to a clash of values.Heterogeneity in societies will be the rule in the twenty-first century, and(46)________________
";

           art.CreateTime = new DateTime(2008, 12, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test4()
       {
           LCArticle art = new LCArticle();
           art.Content = @"　　We're now witnessing the emergence of an advanced economy based on information and knowledge. Physical （36）______, raw materials, and capital are no longer the key （37） ______in the creation of wealth. Now, the （38） ____ raw material in our economy is knowledge. Tomorrow's wealth depends on the development and exchange of knowledge. And （39） _______entering the workforce offer their knowledge, not their muscles. Knowledge workers get paid for their education and their ability to learn. Knowledge workers （40） _____in mind work. They deal with symbols: words, （41） ______, and data.

　　What does all this mean for you? As a future knowledge worker, you can expect to be （42）_______, processing, as well as exchanging in formation. （43）________, three out of four jobs involve some form of mind work, and that number will increase sharply in the future. Management and employees alike （44） ______________________________________________.

　　In the new world of work, you can look forward to being in constant training （45）________________________________. You can also expect to be taking greater control of your career. Gone are the nine-to-five jobs, lifetime security, predictable promotions, and even the conventional workplace, as you are familiar with. （46）__________________________________________. And don't wait for someone to 'empower' you. You have to empower yourself.
";

           art.CreateTime = new DateTime(2008, 6, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test5()
       {
           LCArticle art = new LCArticle();
           art.Content = @"   More and more of the world’s population are living in towns or cities. The speed at which cities are growing in the less developed countries is (36)________. Between 1920 and 1960 big cities in developed countries (37) ________ two and a half times in size, but in other parts of the world the growth was eight times their size.
   The (38) _________ size of growth is bad enough, but there are now also very (39) _________ signs of trouble in the (40) ___________of percentages of people living in towns and percentages of people working in industry. During the nineteenth century cities grew as a result of the growth of industry . In Europe the (41) ___________of people living in cities was always smaller than that of the (42) __________working in factories. Now, however, the (43) ____________ is almost always true in the newly industrialized world : (44) ________.
   Without a base of people working in industry, these cities cannot pay for their growth; (45) _____________. There has been little opportunity to build water supplies or other facilities. (46) __________________ a growth in the number of hopeless and despairing parents and starving children.
";

           art.CreateTime = new DateTime(2007, 12, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test6()
       {
           LCArticle art = new LCArticle();
           art.Content = @"   More and more of the world’s population are living in towns or cities. The speed at which cities are growing in the less developed countries is (36)________. Between 1920 and 1960 big cities in developed countries (37) ________ two and a half times in size, but in other parts of the world the growth was eight times their size.
   The (38) _________ size of growth is bad enough, but there are now also very (39) _________ signs of trouble in the (40) ___________of percentages of people living in towns and percentages of people working in industry. During the nineteenth century cities grew as a result of the growth of industry . In Europe the (41) ___________of people living in cities was always smaller than that of the (42) __________working in factories. Now, however, the (43) ____________ is almost always true in the newly industrialized world : (44) ________.
   Without a base of people working in industry, these cities cannot pay for their growth; (45) _____________. There has been little opportunity to build water supplies or other facilities. (46) __________________ a growth in the number of hopeless and despairing parents and starving children.
";

           art.CreateTime = new DateTime(2007, 6, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test7()
       {
           LCArticle art = new LCArticle();
           art.Content = @"   You probably have noticed that people express similar ideas in different ways depending on the situation they are in. This is very (36) ________. All languages have two general levels of (37) ________: a formal level and an informal level. English is no (38) ________. The difference in these two levels is the situation in which you use a (39) ________ level. Formal language is the kind of language you find in textbooks, (40) ________ books and in business letters. You would also use formal English in compositions and (41) ________ that you write in school. Informal language is used in conversation with (42) ________, family members and friends, and when we write (43) ________ notes or letters to close friends.
Formal language is different from informal language in several ways. First, formal language tends to be more polite. (44) ________________________________. For example, I might say to a friend or a family member “Close the door, please,” (45) ________________________________.
Another difference between formal and informal language is some of the vocabulary. (46) ________________________________. Let’s say that I really like soccer. If I am talking to my friend I might say “I am just crazy about soccer!” But if I were talking to my boss, I would probably say “I really enjoy soccer.”
";

           art.CreateTime = new DateTime(2006, 12, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }

       public static void Test8()
       {
           LCArticle art = new LCArticle();
           art.Content = @"For Americans, time is money. They say, “you only get so much time in this life; you’d better use it wisely.” The (36) ________ will not be better than the past or present, as American are (37) ________ to see things, unless people use their time for constructive activity. Thus Americans (38) ________ a “well-organized” person, one who has a written list of thins to do and a (39) ________ for doing them. The ideal person is punctual and is (40) ________ of other people’s time. They do not (41) ________ people’s time with conversation or other activity that has no (42) ________ beneficial outcome.
The American attitude toward time is not (43) ________ shared by others, especially non-Europeans. They are more likely to regard time as (44) ________________________________. One of the more difficult things many students must adjust to in the states is the notion that time must be saved whenever possible and used wisely every day.
In the contest (45) ________________________________, McDonald’s, KFC, and other fast food establishments are successful in a country where many people want to spend the least amount of time preparing and eating meals. As McDonald’s restaurants (46) ________________________________, bringing not just hamburgers but an emphasis on speed, efficiency, and shiny cleanliness.
";

           art.CreateTime = new DateTime(2006, 12, 22);
           art.Part = 3;
           art.PointWords = string.Empty;
           UnitOfWork.CurrentSession.Save(art);
           UnitOfWork.CurrentSession.Flush();
       }
    }
}
